Get Processes
AutomatR.DefaultActivities.General.GetProcesses
The "Get Processes" activity in AutomatR, categorized under Application, retrieves the list of currently running Windows processes on the local machine. This activity simplifies the process of obtaining information about active processes, enhancing automation workflows.
Properties
Name | Description |
---|---|
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get Processes" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the wait time is 1000 milliseconds or 1 sec, i.e., 1. |
ID | Specifies the process ID to fetch details for a specific process. Integer variables containing the process ID. |
Name | Specifies the process name to fetch details for a specific process. String variables containing the process name. |
Output | |
Result | Outputs an array of processes currently running on the local machine. Variables of type Process[] to store the list of processes. |
How to use:
- Drag and drop the "Get Processes" activity onto the workflow.
- Optionally, configure the delay, process name, or process ID based on your requirements.
- Execute the workflow to retrieve information about currently running processes.
Example: Consider an example where the "Get Processes" activity is used to obtain details about all processes running on the local machine:
Get Processes:
Result: processesArray
In this example, the activity retrieves information about all processes running on the local machine and stores the result in the processesArray
variable for further processing in the workflow.